package com.qidianit.mes.pro.mapper;

import com.qidianit.mes.pojo.WorkReport;
import com.qidianit.mes.pro.vo.WorkReportVO;

import java.util.List;

public interface WorkReportMapper {
    //多条件查询
    List<WorkReport> queryWorkReportList(WorkReport workReport);

    //根据id查询报工
    WorkReport queryByWorkReport(Long id);

    //更新报工
    int updateWorkReport(WorkReport workReport);

    //添加报工
    int addWorkReport(WorkReport workReport);

    //删除报工
    int deleteWorkReport(Long id);

    //int
    int batchDeleteWorkReports(Long[] ids);
}
